a {
  text-decoration: none;
  color: black;
}

.container {
  width: 1092px;
  margin: 0 auto;
}

* {
  margin: 0;
  padding: 0;
}

body {
  padding: 10px;
}

.tablist {
  float: left;
  width: calc(100% - 270px);
  margin: 12px 0px 0px 20px;
}

/**
 * 设置tab共同属性
 */
.tablab {
  position: relative;
  border: 2px solid black;
  z-index: 1;
  padding: 2px 4px;
  display: inline-block;
  width: 80px;
  line-height: 100%;
  text-align: center;
  cursor: pointer;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

/**
 * 设置内容外部容器
 */
.tab-content {
  margin-top: -2px;
  border: 2px solid black;
  float: left;
  width: 100%;
  height: 236px;
  padding: 20px 15px 20px 25px
}

/**
 * 设置每个li的样式
 */
.tab-content ul li {
  height: 60px;
  width: 240px;
  list-style: none;
  position: relative;
  padding: 10px 10px 20px 10px;
  margin: 0px 10px 10px 0px;
  float: left;
  border-radius: 10px;
  background-color: #eeeeff;

}


input[type=radio],
.tab-content {
  display: none;
}

input[type=radio]:checked+label {
  background: #fff;
  border-bottom: 2px solid transparent;
}

input[type=radio]:checked+label+div {
  display: block;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.bar {
  border: 2px solid black;
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
}

.imglog {
  width: 245px;
  height: 100px;
  float: left;
  margin-right: 20px;
}

.barlist li {
  float: left;
  list-style: none;
  margin-top: 40px;
  border: 1px solid black;
  margin-left: 5px;
  border-radius: 10px;
  background-color: #ffa600;
  padding: 12px;
  width: 100px;
  text-align: center;
}

.barlist li:hover {
  background-color: #ffe2ab;
}

.barlist li:hover ul {
  display: block;
}

.barlist li ul {
  position: absolute;
  z-index: 3;
  display: none;

}

.barlist li ul li {
  width: 170px;
  background-color: white;
  border: 1px solid black;
  border-bottom: none;
  clear: both;
  height: 20px;
  line-height: 20px;
  margin-left: -10px;
  margin-top: 0px;
}

.barlist li ul:last-child {
  margin-top: 13px;
  border-bottom: 1px solid black;
}

.lefthouse {
  width: 200px;
  height: 300px;
  border: 2px solid black;
  margin-top: 10px;
  float: left;
  border-radius: 10px;
  overflow: hidden;
}

/**
       * 冒险者小屋
       */
.housetitle {
  background-color: black;
  color: white;
  padding: 10px 0;
  width: 100%;
  display: inline-block;
  text-align: center;
  border: 0;
  line-height: 100%;
}

.house-content {
  padding: 10px;
  width: 110px;
  height: 160px;
  margin: auto;
}

.house-content img {
  position: absolute;
  z-index: 1;
}

/**
       * 冒险者小屋裏面的內容
       */
.content {
  width: 200px;
  height: 100px;
  border: 1px solid red;

}



.content-img {
  width: 60px;
  height: 60px;
  display: inline-block;
  float: left;
}

.content-img+div {
  float: left;
  width: 170px;
  padding-left: 10px;
}

.img-title {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid black;
}

.img-price {
  display: inline-block;
  width: 100%;
  text-align: right;
}

.img-price+p {
  text-align: right;
}

button {
  background-color: transparent;
  border: 1px solid black;
  padding: 5px 10px;
  cursor: pointer;
}

.coust {
  text-decoration: line-through;
}

.discount-price {
  color: red;
}


.tab-content .ul-commodity li:nth-child(1):hover div:nth-child(1) {
  display: block;
}

.tab-content .ul-commodity li:nth-child(2):hover div:nth-child(1) {
  display: block;
}

.tab-content .ul-commodity li:nth-child(3):hover div:nth-child(1) {
  display: block;
}

.tab-content .ul-modelling li:nth-child(1):hover div:nth-child(1) {
  display: block;
}

.tab-content .ul-modelling li:nth-child(2):hover div:nth-child(1) {
  display: block;
}

#save-Dess,
#reset-Dess {
  width: 140px;
  display: block;
  margin: 5px auto;
  background-color: #e6e672;
  border-radius: 10px;
}

#save-Dess:hover,
#reset-Dess:hover {
  background-color: wheat;
}

#wall-img {
  z-index: 0;
}

button {
  background-color: #3cdfdf;
  margin-right: 5px;
  border-radius: 10px;
}

button:hover {
  background-color: #55ffff;
}

#save-Dess::before {
  content: "  ";
  display: inline-block;
  height: 20px;
  width: 16px;
  background: url(button-icon/save.png) no-repeat;
  background-size: 100%;
  vertical-align: middle;
}

#reset-Dess:before {
  content: " ";
  display: inline-block;
  height: 20px;
  width: 17px;
  background: url(button-icon/restore.png) no-repeat;
  background-size: 100%;
  vertical-align: middle;
}

.try-on::before {
  content: " ";
  display: inline-block;
  height: 20px;
  width: 20px;
  background: url(button-icon/clothes.png) no-repeat;
  background-size: 100%;
}

.purchase::before {
  content: " ";
  display: inline-block;
  height: 20px;
  width: 20px;
  background: url(button-icon/buy.png) no-repeat;
  background-size: 100%;
}
#purchase-alert{
  position: absolute; 
  border-radius: 10px;  
  padding: 5px 10px 5px 10px;
  left: 180px;
  top: 200px;
  background-color: #58575c42;
}
.purchaseAlert{
  display: block;
}
.dispalyNone{
  display:none;
}